package com.zhan.ielts.domain;

import java.sql.Timestamp;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.zhan.frame.core.dao.domain.Identifiable;

public class Users implements Identifiable {

	private static final long serialVersionUID = -3411740322452792748L;

	private String id;
	private Integer enable;
	private String password;
	private String username;
	private String name;
	private String mobile;
	private String mail;
	private String headPortrait;
	private String examTime;
	private String type;
	private Timestamp loginTime;
	private Timestamp registerTime;
	private String isShared;
	private String useTreasureChest;
	private Long updateTime;

	private String takeExam;
	private String grade;
	private Float score;
	private Float targetScore;
	private String examType;

	private String taskFinishedTime;
	private Integer wordPackageType;
	private Integer wordToStudyPlan;

	private String tableName;
	private long wordReviewResetTime;

	private String device;
	private String platform;
	private String appName;
	private String appVersion;


	public Integer getEnable() {
		return this.enable;
	}

	public void setEnable(Integer enable) {
		this.enable = enable;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getHeadPortrait() {
		return headPortrait;
	}

	public void setHeadPortrait(String headPortrait) {
		this.headPortrait = headPortrait;
	}

	public String getExamTime() {
		return examTime;
	}

	public void setExamTime(String examTime) {
		this.examTime = examTime;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Timestamp getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Timestamp loginTime) {
		this.loginTime = loginTime;
	}

	public Timestamp getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Timestamp registerTime) {
		this.registerTime = registerTime;
	}

	public String getIsShared() {
		return isShared;
	}

	public void setIsShared(String isShared) {
		this.isShared = isShared;
	}

	public String getUseTreasureChest() {
		return useTreasureChest;
	}

	public void setUseTreasureChest(String useTreasureChest) {
		this.useTreasureChest = useTreasureChest;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public String getTakeExam() {
		return takeExam;
	}

	public void setTakeExam(String takeExam) {
		this.takeExam = takeExam;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public Float getScore() {
		return score;
	}

	public void setScore(Float score) {
		this.score = score;
	}

	public Float getTargetScore() {
		return targetScore;
	}

	public void setTargetScore(Float targetScore) {
		this.targetScore = targetScore;
	}

	public String getExamType() {
		return examType;
	}

	public void setExamType(String examType) {
		this.examType = examType;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public String getTaskFinishedTime() {
		return taskFinishedTime;
	}

	public void setTaskFinishedTime(String taskFinishedTime) {
		this.taskFinishedTime = taskFinishedTime;
	}

	public Integer getWordPackageType() {
		return wordPackageType;
	}

	public void setWordPackageType(Integer wordPackageType) {
		this.wordPackageType = wordPackageType;
	}

	public Integer getWordToStudyPlan() {
		return wordToStudyPlan;
	}

	public void setWordToStudyPlan(Integer wordToStudyPlan) {
		this.wordToStudyPlan = wordToStudyPlan;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public long getWordReviewResetTime() {
		return wordReviewResetTime;
	}

	public void setWordReviewResetTime(long wordReviewResetTime) {
		this.wordReviewResetTime = wordReviewResetTime;
	}

	public String getDevice() {
		return device;
	}

	public void setDevice(String device) {
		this.device = device;
	}

	public String getPlatform() {
		return platform;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}

	public String getAppVersion() {
		return appVersion;
	}

	public void setAppVersion(String appVersion) {
		this.appVersion = appVersion;
	}


	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}

	@Override
	public String getId() {
		return this.id;
	}

	@Override
	public void setId(String id) {
		this.id = id;
	}

}